/*
 * @Author: your name
 * @Date: 2022-02-08 15:35:14
 * @LastEditTime: 2022-03-30 09:03:13
 * @LastEditors: Please set LastEditors
 * @Description: 主业的接口
 */
import request from '../utils/request'
// 品牌接口
export const findBrand = (limit = 6) => {
  return request('/home/brand', 'get', { limit })
}

// 轮播图接口
export const banner = () => {
  return request('/home/banner', 'get')
}
// 新鲜好物接口
export const bannerNew = () => {
  return request('/home/new', 'get')
}

// 人气接口
export const bannerHot = () => {
  return request('/home/hot', 'get')
}

// 商品
// 人气接口
export const bannerProduct = () => {
  return request('/home/goods', 'get')
}
// 专题接口
export const findSpecial = () => {
  return request('home/special', 'get')
}
